package com.sdry.model.hpf;

import java.util.Date;

import org.springframework.format.annotation.DateTimeFormat;

/**
 * @ClassName: ApprovalRecord 
 * @Description:审批记录
 * @Author hpf
 * @Date 2018年12月10日 上午10:25:16 
 * @version 1.0
 */
public class ApprovalRecord {

	private Long arID;
	
	private Long pickID;//领料申请单ID
	
	private String approvalType;//审批类型
	
	private Long submitterID;//提交人ID
	
	private Long approverID;//审批人ID
	
	private int status;//状态
	
	private String remark;//备注
	
	private String reserve1;//预留1
	
	private String reserve2;//预留2
	
	private String reserve3;//预留3
	
	private String reserve4;//预留4
	
	private String reserve5;//预留5
	
	@DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
	private Date submitDate;//提交日期
	
	private String submitterName;//提交人姓名
	
	private String approverName;//审批人姓名
	
	private String sSubmitDate;//提交日期字符串
	
	private String pickNum;//单据号
	
	private String sPickDate;//领料单日期字符串
	
	private String pickDeptName;//部门名称
	
	private String pickPersonName;//制单人姓名
	
	private String sDemandDate;//需求日期字符串

	
	public Long getArID() {
		return arID;
	}

	public void setArID(Long arID) {
		this.arID = arID;
	}

	public Long getPickID() {
		return pickID;
	}

	public void setPickID(Long pickID) {
		this.pickID = pickID;
	}

	public String getApprovalType() {
		return approvalType;
	}

	public void setApprovalType(String approvalType) {
		this.approvalType = approvalType;
	}

	public Long getSubmitterID() {
		return submitterID;
	}

	public void setSubmitterID(Long submitterID) {
		this.submitterID = submitterID;
	}

	public Long getApproverID() {
		return approverID;
	}

	public void setApproverID(Long approverID) {
		this.approverID = approverID;
	}

	public int getStatus() {
		return status;
	}

	public void setStatus(int status) {
		this.status = status;
	}

	public String getRemark() {
		return remark;
	}

	public void setRemark(String remark) {
		this.remark = remark;
	}

	public String getReserve1() {
		return reserve1;
	}

	public void setReserve1(String reserve1) {
		this.reserve1 = reserve1;
	}

	public String getReserve2() {
		return reserve2;
	}

	public void setReserve2(String reserve2) {
		this.reserve2 = reserve2;
	}

	public String getReserve3() {
		return reserve3;
	}

	public void setReserve3(String reserve3) {
		this.reserve3 = reserve3;
	}

	public String getReserve4() {
		return reserve4;
	}

	public void setReserve4(String reserve4) {
		this.reserve4 = reserve4;
	}

	public String getReserve5() {
		return reserve5;
	}

	public void setReserve5(String reserve5) {
		this.reserve5 = reserve5;
	}

	public Date getSubmitDate() {
		return submitDate;
	}

	public void setSubmitDate(Date submitDate) {
		this.submitDate = submitDate;
	}

	public String getSubmitterName() {
		return submitterName;
	}

	public void setSubmitterName(String submitterName) {
		this.submitterName = submitterName;
	}

	public String getApproverName() {
		return approverName;
	}

	public void setApproverName(String approverName) {
		this.approverName = approverName;
	}

	public String getsSubmitDate() {
		return sSubmitDate;
	}

	public void setsSubmitDate(String sSubmitDate) {
		this.sSubmitDate = sSubmitDate;
	}

	public String getPickNum() {
		return pickNum;
	}

	public void setPickNum(String pickNum) {
		this.pickNum = pickNum;
	}

	public String getsPickDate() {
		return sPickDate;
	}

	public void setsPickDate(String sPickDate) {
		this.sPickDate = sPickDate;
	}

	public String getPickDeptName() {
		return pickDeptName;
	}

	public void setPickDeptName(String pickDeptName) {
		this.pickDeptName = pickDeptName;
	}

	public String getPickPersonName() {
		return pickPersonName;
	}

	public void setPickPersonName(String pickPersonName) {
		this.pickPersonName = pickPersonName;
	}

	public String getsDemandDate() {
		return sDemandDate;
	}

	public void setsDemandDate(String sDemandDate) {
		this.sDemandDate = sDemandDate;
	}

	
	@Override
	public String toString() {
		return "ApprovalRecord [arID=" + arID + ", pickID=" + pickID + ", approvalType=" + approvalType
				+ ", submitterID=" + submitterID + ", approverID=" + approverID + ", status=" + status + ", remark="
				+ remark + ", reserve1=" + reserve1 + ", reserve2=" + reserve2 + ", reserve3=" + reserve3
				+ ", reserve4=" + reserve4 + ", reserve5=" + reserve5 + ", submitDate=" + submitDate
				+ ", submitterName=" + submitterName + ", approverName=" + approverName + ", sSubmitDate=" + sSubmitDate
				+ ", pickNum=" + pickNum + ", sPickDate=" + sPickDate + ", pickDeptName=" + pickDeptName
				+ ", pickPersonName=" + pickPersonName + ", sDemandDate=" + sDemandDate + "]";
	}
}
